//package org.wk.core.web.configure;
//
//import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.thymeleaf.spring4.templateresolver.SpringResourceTemplateResolver;
//import org.thymeleaf.templateresolver.ITemplateResolver;
//
//
//
//@Configuration
//public class ThymeleafWebConfiguration{
//	@Bean
//	public ITemplateResolver  webTemplateResolver() {
//		SpringResourceTemplateResolver   templateResolver = new SpringResourceTemplateResolver();
//		templateResolver.setPrefix("classpath:/templates/");
//		templateResolver.setSuffix(".html");
//		templateResolver.setCacheable(false);
//		templateResolver.setOrder(1);
//	    return templateResolver;
//	}
//
//	@Bean
//	@ConditionalOnMissingBean
//	public JSONDialect jsonDialect(){
//		JSONDialect jsonDialect = new JSONDialect();
//		return jsonDialect;
//	}
//
//}
